package com.pshcp.domain.dto;

import com.framework.base.BaseDTO;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MessageNotification对象", description="系统消息表")
public class MessageNotificationDTO extends BaseDTO implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "类型")
    private Integer messageType;

    @ApiModelProperty(value = "通知的id，用户id")
    private Long userId;

    @ApiModelProperty(value = "类型0 医生 1患者")
    private Integer userType;

    @ApiModelProperty(value = "数据id")
    private Long dataId;

    /**
     * 0 未读 1已读
     */
    @ApiModelProperty(value = "阅读状态 0 未读 1已读")
    private Integer readFlag;

    @ApiModelProperty(value = "状态 0正常 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
